package com.faf.bean;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Access {
	private long timestamp = -1;
	private int storeId = -1;
	private int foodId = -1;
	
	public Access() {
		this.timestamp = System.currentTimeMillis();
	}
	
	public Access(int storeId, int foodId) {
		this.timestamp = System.currentTimeMillis();
		this.storeId = storeId;
		this.foodId = foodId;
	}
	
	public void setStoreId(int id) {
		this.storeId = id;
	}
	
	public void setFoodId(int id) {
		this.foodId = id;
	}
	
	public int storeId() {
		return this.storeId;
	}
	
	public int foodId() {
		return this.foodId;
	}
	
	public long timestamp() {
		return this.timestamp;
	}
}
